//
//  MovieClassModel.m
//  OpenEyes
//
//  Created by dlios on 15/9/23.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "MovieClassModel.h"

@implementation MovieClassModel
- (void)encodeWithCoder:(NSCoder *)aCoder
{
    [aCoder encodeObject:self.name forKey:@"name"];
    [aCoder encodeObject:self.bgPicture forKey:@"bgPicture"];
}

- (instancetype)initWithCoder:(NSCoder *)aDecoder
{
    self = [super init];
    if (self) {
        self.name = [aDecoder decodeObjectForKey:@"name"];
        self.bgPicture = [aDecoder decodeObjectForKey:@"bgPicture"];
    }
    return self;
}
-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}
@end
